package com.seupyy.service;

import com.seupyy.pojo.PageBean;
import com.seupyy.pojo.Article;

public interface ArticleService {
    //新增文章
    void add(Article article);

    //分页查询文章列表
    PageBean<Article> list(Integer pageNum, Integer pageSize, Integer categoryId, String state);
}
